package web.bean;

import java.util.Date;

/**
 * Created by Administrator on 2016/7/1.
 */
public class User {
    private int id;
    private String email;
    private int type;  //0：成功登陆用户   1:未登陆用户

    private String phone;//电话
    private String province;//地域
    private String userPeople;//真实姓名
    private String company;//公司名称
    private int account_is_pay;//是否为付费用户
    private Date account_matured_time; //用作用户：注册时间
    private String login_md5;
    private Date payment_time;//付费结束时间
    private int user_right;//用户权限
    private String remark; //备注


    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public int getUser_right() {
        return user_right;
    }

    public void setUser_right(int user_right) {
        this.user_right = user_right;
    }

    public Date getPayment_time() {
        return payment_time;
    }

    public void setPayment_time(Date payment_time) {
        this.payment_time = payment_time;
    }

    public String getLogin_md5() {
        return login_md5;
    }

    public void setLogin_md5(String login_md5) {
        this.login_md5 = login_md5;
    }

    public User(String email,  String phone, String province, String userPeople, String company) {
        this.email = email;
        this.phone = phone;
        this.province = province;
        this.userPeople = userPeople;
        this.company = company;
    }

    public User(String phone, String email, int id) {
        this.phone = phone;
        this.email = email;
        this.id = id;
    }

    public int getAccount_is_pay() {
        return account_is_pay;
    }

    public void setAccount_is_pay(int account_is_pay) {
        this.account_is_pay = account_is_pay;
    }

    public Date getAccount_matured_time() {
        return account_matured_time;
    }

    public void setAccount_matured_time(Date account_matured_time) {
        this.account_matured_time = account_matured_time;
    }

    public User() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getUserPeople() {
        return userPeople;
    }

    public void setUserPeople(String userPeople) {
        this.userPeople = userPeople;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }
}
